﻿namespace Authentication.Web.Controller
{
    using Authentication.Model.Interface;
    using Authentication.Provider;

    public class ControllerBase : System.Web.Mvc.Controller
    {
        public ControllerBase()
        {
            if (this.Provider == null) this.Provider = new ProviderFactory();
        }

        public IProviderFactory Provider { get; private set; }
    }
}
